<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>UniMRCP: rtsp_client.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">UniMRCP
   &#160;<span id="projectnumber">1.5.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li><li class="navelem"><a class="el" href="dir_3321f7367ff9c18e72e64074f26b7c54.html">uni-rtsp</a></li><li class="navelem"><a class="el" href="dir_3cded4aa6edd94ca32b2a2b0f15fc5e2.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">rtsp_client.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>RTSP Client.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="apt__task_8h_source.html">apt_task.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="rtsp__message_8h_source.html">rtsp_message.h</a>&quot;</code><br/>
</div>
<p><a href="rtsp__client_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrtsp__client__vtable__t.html">rtsp_client_vtable_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ab01d578c9577719bb3afd17267b9c67b"><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
typedefAPT_BEGIN_EXTERN_C <br class="typebreak"/>
struct <a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a></td></tr>
<tr class="separator:ab01d578c9577719bb3afd17267b9c67b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e349189e1aedb56775c58e36b61a5d5"><td class="memItemLeft" align="right" valign="top">typedef struct <br class="typebreak"/>
<a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a></td></tr>
<tr class="separator:a9e349189e1aedb56775c58e36b61a5d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b054671cbe0a2574fa5482703b52431"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structrtsp__client__vtable__t.html">rtsp_client_vtable_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#a7b054671cbe0a2574fa5482703b52431">rtsp_client_vtable_t</a></td></tr>
<tr class="separator:a7b054671cbe0a2574fa5482703b52431"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a5ecb1b1bb477ef79c3c86ac41fbe94a5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#a5ecb1b1bb477ef79c3c86ac41fbe94a5">rtsp_client_create</a> (const char *id, apr_size_t max_connection_count, apr_size_t request_timeout, void *obj, const <a class="el" href="structrtsp__client__vtable__t.html">rtsp_client_vtable_t</a> *handler, apr_pool_t *pool)</td></tr>
<tr class="separator:a5ecb1b1bb477ef79c3c86ac41fbe94a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97dccc10740ac93c8169fb6749cba1e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#a97dccc10740ac93c8169fb6749cba1e7">rtsp_client_destroy</a> (<a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *client)</td></tr>
<tr class="separator:a97dccc10740ac93c8169fb6749cba1e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b1da375ac82ef55a60a7362d73f8dd1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#a8b1da375ac82ef55a60a7362d73f8dd1">rtsp_client_start</a> (<a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *client)</td></tr>
<tr class="separator:a8b1da375ac82ef55a60a7362d73f8dd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07a9bc8aaf4e7efa2672a787197950fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#a07a9bc8aaf4e7efa2672a787197950fc">rtsp_client_terminate</a> (<a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *client)</td></tr>
<tr class="separator:a07a9bc8aaf4e7efa2672a787197950fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28c93c8f03920dfe6e0e1d0051fa0510"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#a28c93c8f03920dfe6e0e1d0051fa0510">rtsp_client_task_get</a> (const <a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *client)</td></tr>
<tr class="separator:a28c93c8f03920dfe6e0e1d0051fa0510"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04558d86499cb738c00049ec8e0c358d"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#a04558d86499cb738c00049ec8e0c358d">rtsp_client_object_get</a> (const <a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *client)</td></tr>
<tr class="separator:a04558d86499cb738c00049ec8e0c358d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec4441aa2592a516a40cd54d0d7be8f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#aec4441aa2592a516a40cd54d0d7be8f3">rtsp_client_session_create</a> (<a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *client, const char *server_ip, apr_port_t server_port, const char *resource_location)</td></tr>
<tr class="separator:aec4441aa2592a516a40cd54d0d7be8f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac679c16f856e80fd0d28c0d7b9dc63a4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#ac679c16f856e80fd0d28c0d7b9dc63a4">rtsp_client_session_destroy</a> (<a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a> *session)</td></tr>
<tr class="separator:ac679c16f856e80fd0d28c0d7b9dc63a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa766a308c8d6b21f4a35fc476d64e63a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#aa766a308c8d6b21f4a35fc476d64e63a">rtsp_client_session_terminate</a> (<a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *client, <a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a> *session)</td></tr>
<tr class="separator:aa766a308c8d6b21f4a35fc476d64e63a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2049a66d5a0c649601cb7e9fe0f69fbe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#a2049a66d5a0c649601cb7e9fe0f69fbe">rtsp_client_session_request</a> (<a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *client, <a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a> *session, <a class="el" href="structrtsp__message__t.html">rtsp_message_t</a> *message)</td></tr>
<tr class="separator:a2049a66d5a0c649601cb7e9fe0f69fbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e8d8d956b81b18bad8ff3e283fe13b4"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#a6e8d8d956b81b18bad8ff3e283fe13b4">rtsp_client_session_object_get</a> (const <a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a> *session)</td></tr>
<tr class="separator:a6e8d8d956b81b18bad8ff3e283fe13b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11ffce1e214ca9058988a782642ba9b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#a11ffce1e214ca9058988a782642ba9b2">rtsp_client_session_object_set</a> (<a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a> *session, void *obj)</td></tr>
<tr class="separator:a11ffce1e214ca9058988a782642ba9b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac58abdadfd497ecdadaadceac9016dff"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structapt__str__t.html">apt_str_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__client_8h.html#ac58abdadfd497ecdadaadceac9016dff">rtsp_client_session_id_get</a> (const <a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a> *session)</td></tr>
<tr class="separator:ac58abdadfd497ecdadaadceac9016dff"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>RTSP Client. </p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a9e349189e1aedb56775c58e36b61a5d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a> <a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Opaque RTSP client session declaration </p>

</div>
</div>
<a class="anchor" id="ab01d578c9577719bb3afd17267b9c67b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef typedefAPT_BEGIN_EXTERN_C struct <a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> <a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Opaque RTSP client declaration </p>

</div>
</div>
<a class="anchor" id="a7b054671cbe0a2574fa5482703b52431"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structrtsp__client__vtable__t.html">rtsp_client_vtable_t</a> <a class="el" href="structrtsp__client__vtable__t.html">rtsp_client_vtable_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>RTSP client vtable declaration </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a5ecb1b1bb477ef79c3c86ac41fbe94a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a>* rtsp_client_create </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>max_connection_count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>request_timeout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structrtsp__client__vtable__t.html">rtsp_client_vtable_t</a> *&#160;</td>
          <td class="paramname"><em>handler</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create RTSP client. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the identifier of the client </td></tr>
    <tr><td class="paramname">max_connection_count</td><td>the number of max RTSP connections </td></tr>
    <tr><td class="paramname">request_timeout</td><td>the request timeout to set </td></tr>
    <tr><td class="paramname">obj</td><td>the external object to send event to </td></tr>
    <tr><td class="paramname">handler</td><td>the response/event handler </td></tr>
    <tr><td class="paramname">pool</td><td>the pool to allocate memory from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a97dccc10740ac93c8169fb6749cba1e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> rtsp_client_destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *&#160;</td>
          <td class="paramname"><em>client</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destroy RTSP client. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>the client to destroy </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a04558d86499cb738c00049ec8e0c358d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* rtsp_client_object_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *&#160;</td>
          <td class="paramname"><em>client</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get external object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>the client to get object from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aec4441aa2592a516a40cd54d0d7be8f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a>* rtsp_client_session_create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>server_ip</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_port_t&#160;</td>
          <td class="paramname"><em>server_port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>resource_location</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create RTSP session. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>the client to create session for </td></tr>
    <tr><td class="paramname">server_ip</td><td>the IP address of RTSP server </td></tr>
    <tr><td class="paramname">server_port</td><td>the port of RTSP server </td></tr>
    <tr><td class="paramname">resource_location</td><td>the location of RTSP resource (path in RTSP URI) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac679c16f856e80fd0d28c0d7b9dc63a4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void rtsp_client_session_destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destroy RTSP session. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>the session to destroy </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac58abdadfd497ecdadaadceac9016dff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structapt__str__t.html">apt_str_t</a>* rtsp_client_session_id_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the session identifier. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>the session to get identifier from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6e8d8d956b81b18bad8ff3e283fe13b4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* rtsp_client_session_object_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get object associated with the session. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>the session to get object from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a11ffce1e214ca9058988a782642ba9b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void rtsp_client_session_object_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>obj</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set object associated with the session. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>the session to set object for </td></tr>
    <tr><td class="paramname">obj</td><td>the object to set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2049a66d5a0c649601cb7e9fe0f69fbe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> rtsp_client_session_request </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structrtsp__message__t.html">rtsp_message_t</a> *&#160;</td>
          <td class="paramname"><em>message</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Send RTSP message. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>the client to use </td></tr>
    <tr><td class="paramname">session</td><td>the session to send RTSP request for </td></tr>
    <tr><td class="paramname">message</td><td>the RTSP request to send </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa766a308c8d6b21f4a35fc476d64e63a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> rtsp_client_session_terminate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="rtsp__client_8h.html#a9e349189e1aedb56775c58e36b61a5d5">rtsp_client_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Terminate RTSP session. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>the client to use </td></tr>
    <tr><td class="paramname">session</td><td>the session to terminate </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8b1da375ac82ef55a60a7362d73f8dd1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> rtsp_client_start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *&#160;</td>
          <td class="paramname"><em>client</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Start client and wait for incoming requests. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>the client to start </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a28c93c8f03920dfe6e0e1d0051fa0510"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a>* rtsp_client_task_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *&#160;</td>
          <td class="paramname"><em>client</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>the client to get task from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a07a9bc8aaf4e7efa2672a787197950fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> rtsp_client_terminate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__client_8h.html#ab01d578c9577719bb3afd17267b9c67b">rtsp_client_t</a> *&#160;</td>
          <td class="paramname"><em>client</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Terminate client. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td>the client to terminate </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 22 2017 10:11:48 for UniMRCP by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
